#include<stdio.h>

int main()
{
    int a[10];
    int *p;
    p=a;
    *p=3;
    p[3]=5;
    p=p-39;
    p[7]++;

    int b=3;
    p=&b;
    p[0]++;
    (&b)[1]++;
    int*q;
    q=a+5;
    p=q;
    printf("%d\n",p==q);
    q=a;
    printf("%d\n",p==q);
    p[0]=3;//



    return 0;
}
